<?php
require dirname(__FILE__) . '/../auto_load.php';
class CategoryModelTest extends PHPUnit_Framework_TestCase
{
	private $category_model;
	
	public function setUp()
	{
		$this->category_model = new CategoryModel();
	}
	
	public function testGetCategoryNameById()
	{
		$id = '1';
		$result = $this->category_model->getCategoryNameById($id);
		var_dump($result);
	}
	
	public function testGetAllCategoriesIdAndName()
	{
		$result = $this->category_model->getAllCategoriesIdAndName();
		var_dump($result);
	}
	
	public function testGetAllCategoriesNameAndDisplay()
	{
		$written_language_id = '1';
		$result = $this->category_model->getAllCategoriesNameAndDisplay($written_language_id);
		var_dump($result);
	}

}
?>